.class public Lcom/netease/newsreader/util/Tools;
.super Ljava/lang/Object;
.source "Tools.java"


# static fields
.field public static final _BAR:Ljava/lang/String; = "bar"

.field public static final _BOARD_ID:Ljava/lang/String; = "boardid"

.field public static final _BODY:Ljava/lang/String; = "body"

.field public static final _COMMENT_COUNT:Ljava/lang/String; = "commentcount"

.field public static final _COMMENT_URL:Ljava/lang/String; = "commenturl"

.field public static final _DOCURL:Ljava/lang/String; = "docURL"

.field public static final _TIME:Ljava/lang/String; = "time"

.field public static final _TITLE:Ljava/lang/String; = "title"


# direct methods
.method public constructor <init>()V
    .locals 0

    .prologue
    .line 36
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method public static ChangeList(Ljava/util/ArrayList;)V
    .locals 1
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/ArrayList",
            "<",
            "Ljava/util/HashMap",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;>;)V"
        }
    .end annotation

    .prologue
    .line 508
    .local p0, orglist:Ljava/util/ArrayList;,"Ljava/util/ArrayList<Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;>;"
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    .line 509
    .local v0, temp:Ljava/util/ArrayList;,"Ljava/util/ArrayList<Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;>;"
    invoke-virtual {v0, p0}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z

    .line 510
    invoke-virtual {p0}, Ljava/util/ArrayList;->clear()V

    .line 511
    invoke-virtual {p0, v0}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z

    .line 512
    invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V

    .line 513
    const/4 v0, 0x0

    .line 514
    return-void
.end method

.method public static CheckNetwork(Landroid/content/Context;)Z
    .locals 3
    .parameter "context"

    .prologue
    .line 352
    const/4 v1, 0x0

    .line 353
    .local v1, flag:Z
    const-string v2, "connectivity"

    invoke-virtual {p0, v2}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/net/ConnectivityManager;

    .line 354
    .local v0, cwjManager:Landroid/net/ConnectivityManager;
    invoke-virtual {v0}, Landroid/net/ConnectivityManager;->getActiveNetworkInfo()Landroid/net/NetworkInfo;

    move-result-object v2

    if-eqz v2, :cond_0

    .line 355
    invoke-virtual {v0}, Landroid/net/ConnectivityManager;->getActiveNetworkInfo()Landroid/net/NetworkInfo;

    move-result-object v2

    invoke-virtual {v2}, Landroid/net/NetworkInfo;->isAvailable()Z

    move-result v1

    .line 357
    :cond_0
    return v1
.end method

.method public static JsonToString(Lorg/json/JSONObject;)Ljava/lang/String;
    .locals 1
    .parameter "json"

    .prologue
    .line 136
    if-eqz p0, :cond_0

    .line 138
    invoke-virtual {p0}, Lorg/json/JSONObject;->toString()Ljava/lang/String;

    move-result-object v0

    .line 141
    :goto_0
    return-object v0

    :cond_0
    const-string v0, ""

    goto :goto_0
.end method

.method public static StringToJson(Ljava/lang/String;)Lorg/json/JSONObject;
    .locals 3
    .parameter "str"

    .prologue
    const/4 v2, 0x0

    .line 148
    if-eqz p0, :cond_0

    .line 150
    :try_start_0
    new-instance v1, Lorg/json/JSONObject;

    invoke-direct {v1, p0}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0

    .line 157
    :goto_0
    return-object v1

    .line 152
    :catch_0
    move-exception v0

    .local v0, e:Lorg/json/JSONException;
    move-object v1, v2

    .line 153
    goto :goto_0

    .end local v0           #e:Lorg/json/JSONException;
    :cond_0
    move-object v1, v2

    .line 157
    goto :goto_0
.end method

.method public static StringToJsonArray(Ljava/lang/String;)Lorg/json/JSONArray;
    .locals 3
    .parameter "str"

    .prologue
    const/4 v2, 0x0

    .line 163
    if-eqz p0, :cond_0

    .line 165
    :try_start_0
    new-instance v1, Lorg/json/JSONArray;

    invoke-direct {v1, p0}, Lorg/json/JSONArray;-><init>(Ljava/lang/String;)V
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0

    .line 172
    :goto_0
    return-object v1

    .line 167
    :catch_0
    move-exception v0

    .local v0, e:Lorg/json/JSONException;
    move-object v1, v2

    .line 168
    goto :goto_0

    .end local v0           #e:Lorg/json/JSONException;
    :cond_0
    move-object v1, v2

    .line 172
    goto :goto_0
.end method

.method public static addColumnTypeTitle(Landroid/content/Context;Ljava/lang/String;)Landroid/widget/LinearLayout;
    .locals 5
    .parameter "context"
    .parameter "title"

    .prologue
    const/4 v3, 0x5

    .line 107
    new-instance v0, Landroid/widget/LinearLayout;

    invoke-direct {v0, p0}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    .line 108
    .local v0, l:Landroid/widget/LinearLayout;
    const/high16 v2, 0x7f08

    invoke-virtual {v0, v2}, Landroid/widget/LinearLayout;->setBackgroundResource(I)V

    .line 109
    new-instance v1, Landroid/widget/TextView;

    invoke-direct {v1, p0}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    .line 110
    .local v1, t:Landroid/widget/TextView;
    invoke-virtual {v1, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 111
    invoke-virtual {v1, v3, v3, v3, v3}, Landroid/widget/TextView;->setPadding(IIII)V

    .line 112
    new-instance v2, Landroid/view/ViewGroup$LayoutParams;

    const/4 v3, -0x1

    .line 113
    const/4 v4, -0x2

    invoke-direct {v2, v3, v4}, Landroid/view/ViewGroup$LayoutParams;-><init>(II)V

    .line 112
    invoke-virtual {v0, v1, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 114
    return-object v0
.end method

.method public static copyText(Landroid/content/Context;Ljava/lang/String;)V
    .locals 3
    .parameter "context"
    .parameter "str"

    .prologue
    .line 534
    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_0

    .line 542
    :goto_0
    return-void

    .line 539
    :cond_0
    const-string v1, "clipboard"

    invoke-virtual {p0, v1}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    .line 538
    check-cast v0, Landroid/text/ClipboardManager;

    .line 540
    .local v0, clipboard:Landroid/text/ClipboardManager;
    invoke-virtual {v0, p1}, Landroid/text/ClipboardManager;->setText(Ljava/lang/CharSequence;)V

    .line 541
    const-string v1, "\u5df2\u590d\u5236\u8ddf\u8d34"

    const/4 v2, 0x0

    invoke-static {p0, v1, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v1

    invoke-virtual {v1}, Landroid/widget/Toast;->show()V

    goto :goto_0
.end method

.method public static equalHead(Ljava/lang/String;)Ljava/lang/String;
    .locals 2
    .parameter "columnID"

    .prologue
    .line 95
    const-string v0, "nonhead"

    .line 96
    .local v0, rst:Ljava/lang/String;
    const-string v1, "T1295505916992"

    invoke-virtual {v1, p0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-nez v1, :cond_0

    .line 97
    const-string v1, "T1295506658957"

    invoke-virtual {v1, p0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-nez v1, :cond_0

    .line 98
    const-string v1, "T1295505705196"

    invoke-virtual {v1, p0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-nez v1, :cond_0

    .line 99
    const-string v1, "T1295507084100"

    invoke-virtual {v1, p0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-nez v1, :cond_0

    .line 100
    const-string v1, "T1295501906343"

    invoke-virtual {v1, p0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_1

    .line 101
    :cond_0
    const-string v0, "head"

    .line 103
    :cond_1
    return-object v0
.end method

.method public static getCutHeadPicHeight(I)I
    .locals 1
    .parameter "width"

    .prologue
    .line 306
    if-gtz p0, :cond_0

    .line 307
    const/4 v0, 0x0

    .line 311
    :goto_0
    return v0

    .line 308
    :cond_0
    const/16 v0, 0xf0

    if-gt p0, v0, :cond_1

    .line 309
    const/16 v0, 0x5a

    goto :goto_0

    .line 311
    :cond_1
    mul-int/lit16 v0, p0, 0xff

    div-int/lit16 v0, v0, 0x1e0

    goto :goto_0
.end method

.method public static getDataFromDB(Landroid/content/Context;Ljava/lang/String;Landroid/database/sqlite/SQLiteDatabase;)Landroid/database/Cursor;
    .locals 9
    .parameter "context"
    .parameter "table"
    .parameter "db"

    .prologue
    const/4 v3, 0x0

    .line 119
    const/4 v0, 0x1

    new-array v2, v0, [Ljava/lang/String;

    const/4 v0, 0x0

    const-string v1, "myid AS _id,tname,tid,cid"

    aput-object v1, v2, v0

    move-object v0, p2

    move-object v1, p1

    move-object v4, v3

    move-object v5, v3

    move-object v6, v3

    move-object v7, v3

    move-object v8, v3

    invoke-virtual/range {v0 .. v8}, Landroid/database/sqlite/SQLiteDatabase;->query(Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Landroid/database/Cursor;

    move-result-object v0

    return-object v0
.end method

.method public static getExtendJson(Lorg/json/JSONObject;)Lorg/json/JSONObject;
    .locals 5
    .parameter "orgjson"

    .prologue
    .line 49
    new-instance v1, Lorg/json/JSONObject;

    invoke-direct {v1}, Lorg/json/JSONObject;-><init>()V

    .line 50
    .local v1, exjson:Lorg/json/JSONObject;
    const/4 v0, 0x0

    .local v0, exindex:I
    :goto_0
    sget-object v4, Lcom/netease/newsreader/rss/GetColumnsInfo;->EXTENDS:[Ljava/lang/String;

    array-length v4, v4

    if-lt v0, v4, :cond_0

    .line 61
    return-object v1

    .line 52
    :cond_0
    :try_start_0
    sget-object v4, Lcom/netease/newsreader/rss/GetColumnsInfo;->EXTENDS:[Ljava/lang/String;

    aget-object v2, v4, v0

    .line 53
    .local v2, key:Ljava/lang/String;
    invoke-virtual {p0, v2}, Lorg/json/JSONObject;->get(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v3

    .line 54
    .local v3, obj:Ljava/lang/Object;
    if-eqz v3, :cond_1

    .line 55
    invoke-virtual {v1, v2, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0

    .line 50
    .end local v2           #key:Ljava/lang/String;
    .end local v3           #obj:Ljava/lang/Object;
    :cond_1
    :goto_1
    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    .line 57
    :catch_0
    move-exception v4

    goto :goto_1
.end method

.method public static getHeadPicHeight(I)I
    .locals 1
    .parameter "width"

    .prologue
    .line 297
    if-gtz p0, :cond_0

    .line 298
    const/4 v0, 0x0

    .line 300
    :goto_0
    return v0

    :cond_0
    mul-int/lit8 v0, p0, 0x3

    div-int/lit8 v0, v0, 0x4

    goto :goto_0
.end method

.method public static getNetworkType(Landroid/content/Context;)Ljava/lang/String;
    .locals 3
    .parameter "mContext"

    .prologue
    .line 340
    .line 341
    const-string v2, "connectivity"

    invoke-virtual {p0, v2}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v1

    .line 340
    check-cast v1, Landroid/net/ConnectivityManager;

    .line 342
    .local v1, connectivityManager:Landroid/net/ConnectivityManager;
    invoke-virtual {v1}, Landroid/net/ConnectivityManager;->getActiveNetworkInfo()Landroid/net/NetworkInfo;

    move-result-object v0

    .line 343
    .local v0, activeNetInfo:Landroid/net/NetworkInfo;
    if-eqz v0, :cond_0

    .line 344
    invoke-virtual {v0}, Landroid/net/NetworkInfo;->getTypeName()Ljava/lang/String;

    move-result-object v2

    .line 346
    :goto_0
    return-object v2

    :cond_0
    const-string v2, "other"

    goto :goto_0
.end method

.method public static getScreenMetrics(Landroid/content/Context;)I
    .locals 7
    .parameter "c"

    .prologue
    const/16 v6, 0x1e0

    const/16 v5, 0x140

    .line 274
    const/4 v2, 0x0

    .line 275
    .local v2, type:I
    new-instance v1, Landroid/util/DisplayMetrics;

    invoke-direct {v1}, Landroid/util/DisplayMetrics;-><init>()V

    .line 276
    .local v1, metrics:Landroid/util/DisplayMetrics;
    invoke-virtual {p0}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;

    move-result-object v4

    invoke-virtual {v4}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v4

    invoke-virtual {v4}, Landroid/content/res/Resources;->getDisplayMetrics()Landroid/util/DisplayMetrics;

    move-result-object v1

    .line 278
    iget v3, v1, Landroid/util/DisplayMetrics;->widthPixels:I

    .line 279
    .local v3, width:I
    iget v0, v1, Landroid/util/DisplayMetrics;->heightPixels:I

    .line 281
    .local v0, height:I
    if-ne v3, v6, :cond_1

    const/16 v4, 0x320

    if-ne v0, v4, :cond_1

    .line 282
    const/4 v2, 0x3

    .line 292
    :cond_0
    :goto_0
    return v2

    .line 283
    :cond_1
    if-ne v3, v5, :cond_2

    if-ne v0, v6, :cond_2

    .line 284
    const/4 v2, 0x2

    goto :goto_0

    .line 285
    :cond_2
    const/16 v4, 0xf0

    if-ne v3, v4, :cond_3

    if-ne v0, v5, :cond_3

    .line 286
    const/4 v2, 0x1

    goto :goto_0

    .line 287
    :cond_3
    const/16 v4, 0x280

    if-ne v3, v4, :cond_4

    const/16 v4, 0x3c0

    if-ne v0, v4, :cond_4

    .line 288
    const/4 v2, 0x4

    goto :goto_0

    .line 289
    :cond_4
    const/16 v4, 0x2d0

    if-ne v3, v4, :cond_0

    .line 290
    const/4 v2, 0x5

    goto :goto_0
.end method

.method public static getScreenWidth(Landroid/content/Context;)I
    .locals 2
    .parameter "context"

    .prologue
    .line 258
    new-instance v0, Landroid/util/DisplayMetrics;

    invoke-direct {v0}, Landroid/util/DisplayMetrics;-><init>()V

    .line 259
    .local v0, dm:Landroid/util/DisplayMetrics;
    invoke-virtual {p0}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;

    move-result-object v1

    invoke-virtual {v1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    invoke-virtual {v1}, Landroid/content/res/Resources;->getDisplayMetrics()Landroid/util/DisplayMetrics;

    move-result-object v0

    .line 260
    iget v1, v0, Landroid/util/DisplayMetrics;->widthPixels:I

    return v1
.end method

.method public static getShareTargets(Landroid/content/Context;Ljava/lang/String;)Ljava/util/List;
    .locals 3
    .parameter "mContext"
    .parameter "type"
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/content/Context;",
            "Ljava/lang/String;",
            ")",
            "Ljava/util/List",
            "<",
            "Landroid/content/pm/ResolveInfo;",
            ">;"
        }
    .end annotation

    .prologue
    .line 524
    new-instance v0, Landroid/content/Intent;

    const-string v2, "android.intent.action.SEND"

    invoke-direct {v0, v2}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    .line 525
    .local v0, intent:Landroid/content/Intent;
    const-string v2, "android.intent.category.DEFAULT"

    invoke-virtual {v0, v2}, Landroid/content/Intent;->addCategory(Ljava/lang/String;)Landroid/content/Intent;

    .line 526
    invoke-virtual {v0, p1}, Landroid/content/Intent;->setType(Ljava/lang/String;)Landroid/content/Intent;

    .line 527
    invoke-virtual {p0}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;

    move-result-object v1

    .line 530
    .local v1, pm:Landroid/content/pm/PackageManager;
    const/4 v2, 0x0

    .line 529
    invoke-virtual {v1, v0, v2}, Landroid/content/pm/PackageManager;->queryIntentActivities(Landroid/content/Intent;I)Ljava/util/List;

    move-result-object v2

    return-object v2
.end method

.method public static getSpecialBannerCutHeadPicHeight(I)I
    .locals 1
    .parameter "width"

    .prologue
    .line 316
    if-gtz p0, :cond_0

    .line 317
    const/4 v0, 0x0

    .line 321
    :goto_0
    return v0

    .line 318
    :cond_0
    const/16 v0, 0xf0

    if-gt p0, v0, :cond_1

    .line 319
    const/16 v0, 0x2c

    goto :goto_0

    .line 321
    :cond_1
    mul-int/lit8 v0, p0, 0x7e

    div-int/lit16 v0, v0, 0x1e0

    goto :goto_0
.end method

.method public static getSuitableImageUrl(Ljava/lang/String;)Ljava/lang/String;
    .locals 6
    .parameter "url"

    .prologue
    .line 443
    const-string v1, ""

    .line 444
    .local v1, rst:Ljava/lang/String;
    invoke-static {}, Ljava/lang/Math;->random()D

    move-result-wide v2

    const-wide/high16 v4, 0x4020

    mul-double/2addr v2, v4

    const-wide/high16 v4, 0x3ff0

    add-double/2addr v2, v4

    double-to-int v0, v2

    .line 445
    .local v0, cdn:I
    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "http://oimagec"

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, ".ydstatic.com/image?url="

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    .line 446
    return-object v1
.end method

.method public static getUserName(Ljava/lang/String;)Ljava/lang/String;
    .locals 4
    .parameter "src"

    .prologue
    const/4 v3, 0x0

    .line 240
    if-eqz p0, :cond_0

    const-string v1, ""

    invoke-virtual {p0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_1

    .line 241
    :cond_0
    const-string p0, ""

    .line 254
    .local v0, s:Ljava/lang/StringBuilder;
    :goto_0
    return-object p0

    .line 243
    .end local v0           #s:Ljava/lang/StringBuilder;
    :cond_1
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0, p0}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    .line 244
    .restart local v0       #s:Ljava/lang/StringBuilder;
    const-string v1, "\u7f51\u6613"

    invoke-virtual {p0, v1}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_2

    .line 245
    const/4 v1, 0x2

    invoke-virtual {v0, v3, v1}, Ljava/lang/StringBuilder;->delete(II)Ljava/lang/StringBuilder;

    move-result-object v0

    .line 248
    :cond_2
    const-string v1, "\u539f\u8d34"

    invoke-virtual {p0, v1}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_3

    .line 249
    new-instance v1, Ljava/lang/StringBuilder;

    const-string v2, "\u7f51\u53cb"

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->indexOf(Ljava/lang/String;)I

    move-result v2

    add-int/lit8 v2, v2, 0x2

    invoke-virtual {v0, v3, v2}, Ljava/lang/StringBuilder;->substring(II)Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v2, " \u7684\u539f\u8d34\uff1a"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p0

    goto :goto_0

    .line 251
    :cond_3
    new-instance v1, Ljava/lang/StringBuilder;

    const-string v2, "\u7f51\u53cb"

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->indexOf(Ljava/lang/String;)I

    move-result v2

    add-int/lit8 v2, v2, 0x2

    invoke-virtual {v0, v3, v2}, Ljava/lang/StringBuilder;->substring(II)Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v2, "\uff1a"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p0

    goto :goto_0
.end method

.method public static getWidth_Height(Landroid/content/Context;)Ljava/util/HashMap;
    .locals 6
    .parameter "c"
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/content/Context;",
            ")",
            "Ljava/util/HashMap",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/Integer;",
            ">;"
        }
    .end annotation

    .prologue
    .line 327
    new-instance v2, Landroid/util/DisplayMetrics;

    invoke-direct {v2}, Landroid/util/DisplayMetrics;-><init>()V

    .line 328
    .local v2, metrics:Landroid/util/DisplayMetrics;
    invoke-virtual {p0}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;

    move-result-object v4

    invoke-virtual {v4}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v4

    invoke-virtual {v4}, Landroid/content/res/Resources;->getDisplayMetrics()Landroid/util/DisplayMetrics;

    move-result-object v2

    .line 329
    iget v3, v2, Landroid/util/DisplayMetrics;->widthPixels:I

    .line 330
    .local v3, width:I
    iget v0, v2, Landroid/util/DisplayMetrics;->heightPixels:I

    .line 332
    .local v0, height:I
    new-instance v1, Ljava/util/HashMap;

    invoke-direct {v1}, Ljava/util/HashMap;-><init>()V

    .line 333
    .local v1, m:Ljava/util/HashMap;,"Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Integer;>;"
    const-string v4, "w"

    invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v5

    invoke-virtual {v1, v4, v5}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 334
    const-string v4, "h"

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v5

    invoke-virtual {v1, v4, v5}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 335
    return-object v1
.end method

.method public static htmlDecoder(Ljava/lang/String;)Ljava/lang/String;
    .locals 3
    .parameter "src"
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/lang/Exception;
        }
    .end annotation

    .prologue
    .line 199
    if-eqz p0, :cond_0

    const-string v1, ""

    invoke-virtual {p0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_1

    .line 200
    :cond_0
    const-string v0, ""

    .line 216
    :goto_0
    return-object v0

    .line 203
    :cond_1
    move-object v0, p0

    .line 204
    .local v0, dst:Ljava/lang/String;
    const-string v1, "&lt;"

    const-string v2, "<"

    invoke-static {v0, v1, v2}, Lcom/netease/newsreader/util/Tools;->replaceAll(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    .line 205
    const-string v1, "&rt;"

    const-string v2, ">"

    invoke-static {v0, v1, v2}, Lcom/netease/newsreader/util/Tools;->replaceAll(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    .line 206
    const-string v1, "&quot;"

    const-string v2, "\""

    invoke-static {v0, v1, v2}, Lcom/netease/newsreader/util/Tools;->replaceAll(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    .line 207
    const-string v1, "&039;"

    const-string v2, "\'"

    invoke-static {v0, v1, v2}, Lcom/netease/newsreader/util/Tools;->replaceAll(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    .line 208
    const-string v1, "&nbsp;"

    const-string v2, " "

    invoke-static {v0, v1, v2}, Lcom/netease/newsreader/util/Tools;->replaceAll(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    .line 209
    const-string v1, "&nbsp"

    const-string v2, " "

    invoke-static {v0, v1, v2}, Lcom/netease/newsreader/util/Tools;->replaceAll(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    .line 210
    const-string v1, "<br>"

    const-string v2, "\n"

    invoke-static {v0, v1, v2}, Lcom/netease/newsreader/util/Tools;->replaceAll(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    .line 211
    const-string v1, "\r\n"

    const-string v2, "\n"

    invoke-static {v0, v1, v2}, Lcom/netease/newsreader/util/Tools;->replaceAll(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    .line 212
    const-string v1, "&#8826;"

    const-string v2, "\u2022"

    invoke-static {v0, v1, v2}, Lcom/netease/newsreader/util/Tools;->replaceAll(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    .line 213
    const-string v1, "&#8226;"

    const-string v2, "\u2022"

    invoke-static {v0, v1, v2}, Lcom/netease/newsreader/util/Tools;->replaceAll(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    .line 214
    const-string v1, "&#9642;"

    const-string v2, "\u2022"

    invoke-static {v0, v1, v2}, Lcom/netease/newsreader/util/Tools;->replaceAll(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    .line 215
    const-string v1, "&amp;"

    const-string v2, "&"

    invoke-static {v0, v1, v2}, Lcom/netease/newsreader/util/Tools;->replaceAll(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    .line 216
    goto :goto_0
.end method

.method public static insertDataToDB(Ljava/lang/String;Landroid/database/sqlite/SQLiteDatabase;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    .locals 2
    .parameter "table"
    .parameter "db"
    .parameter "tname"
    .parameter "tid"
    .parameter "cid"

    .prologue
    .line 127
    new-instance v0, Landroid/content/ContentValues;

    invoke-direct {v0}, Landroid/content/ContentValues;-><init>()V

    .line 128
    .local v0, initialValues:Landroid/content/ContentValues;
    const-string v1, "tname"

    invoke-virtual {v0, v1, p2}, Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/String;)V

    .line 129
    const-string v1, "tid"

    invoke-virtual {v0, v1, p3}, Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/String;)V

    .line 130
    const-string v1, "cid"

    invoke-virtual {v0, v1, p4}, Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/String;)V

    .line 131
    const/4 v1, 0x0

    invoke-virtual {p1, p0, v1, v0}, Landroid/database/sqlite/SQLiteDatabase;->insert(Ljava/lang/String;Ljava/lang/String;Landroid/content/ContentValues;)J

    .line 132
    return-void
.end method

.method public static isCMWAPMobileNet(Landroid/content/Context;)Z
    .locals 5
    .parameter "mContext"

    .prologue
    const/4 v3, 0x0

    .line 373
    if-nez p0, :cond_1

    .line 401
    :cond_0
    :goto_0
    return v3

    .line 377
    :cond_1
    invoke-static {p0}, Lcom/netease/newsreader/util/Tools;->isWifi(Landroid/content/Context;)Z

    move-result v4

    if-nez v4, :cond_0

    .line 380
    const-string v4, "connectivity"

    invoke-virtual {p0, v4}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Landroid/net/ConnectivityManager;

    .line 382
    .local v1, mag:Landroid/net/ConnectivityManager;
    if-eqz v1, :cond_0

    .line 383
    invoke-virtual {v1, v3}, Landroid/net/ConnectivityManager;->getNetworkInfo(I)Landroid/net/NetworkInfo;

    move-result-object v2

    .line 384
    .local v2, mobInfo:Landroid/net/NetworkInfo;
    if-eqz v2, :cond_0

    .line 385
    invoke-virtual {v2}, Landroid/net/NetworkInfo;->getExtraInfo()Ljava/lang/String;

    move-result-object v0

    .line 386
    .local v0, extrainfo:Ljava/lang/String;
    if-eqz v0, :cond_0

    .line 387
    invoke-virtual {v0}, Ljava/lang/String;->toLowerCase()Ljava/lang/String;

    move-result-object v0

    .line 388
    const-string v4, "wap"

    invoke-virtual {v0, v4}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v4

    if-eqz v4, :cond_0

    .line 389
    const/4 v3, 0x1

    goto :goto_0
.end method

.method public static isWifi(Landroid/content/Context;)Z
    .locals 4
    .parameter "mContext"

    .prologue
    const/4 v2, 0x1

    .line 361
    .line 362
    const-string v3, "connectivity"

    invoke-virtual {p0, v3}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v1

    .line 361
    check-cast v1, Landroid/net/ConnectivityManager;

    .line 363
    .local v1, connectivityManager:Landroid/net/ConnectivityManager;
    invoke-virtual {v1}, Landroid/net/ConnectivityManager;->getActiveNetworkInfo()Landroid/net/NetworkInfo;

    move-result-object v0

    .line 364
    .local v0, activeNetInfo:Landroid/net/NetworkInfo;
    if-eqz v0, :cond_0

    .line 365
    invoke-virtual {v0}, Landroid/net/NetworkInfo;->getType()I

    move-result v3

    if-ne v3, v2, :cond_0

    .line 368
    :goto_0
    return v2

    :cond_0
    const/4 v2, 0x0

    goto :goto_0
.end method

.method public static isshowimg(ZLandroid/content/Context;)Z
    .locals 2
    .parameter "downpic"
    .parameter "c"

    .prologue
    .line 79
    const/4 v0, 0x0

    .line 81
    .local v0, rst:Z
    invoke-static {p1}, Lcom/netease/newsreader/util/Tools;->isWifi(Landroid/content/Context;)Z

    move-result v1

    if-eqz v1, :cond_0

    .line 82
    const/4 v0, 0x1

    .line 91
    :goto_0
    return v0

    .line 85
    :cond_0
    if-nez p0, :cond_1

    .line 86
    const/4 v0, 0x1

    goto :goto_0

    .line 88
    :cond_1
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public static parseURL(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    .locals 9
    .parameter "url"
    .parameter "key"

    .prologue
    const/4 v8, 0x1

    .line 409
    const-string v4, ""

    .line 411
    .local v4, rst:Ljava/lang/String;
    if-eqz p1, :cond_0

    const-string v6, ""

    invoke-virtual {v6, p1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v6

    if-nez v6, :cond_0

    .line 415
    const-string v6, "?"

    invoke-virtual {p0, v6}, Ljava/lang/String;->indexOf(Ljava/lang/String;)I

    move-result v0

    .line 416
    .local v0, i:I
    add-int/lit8 v6, v0, 0x1

    invoke-virtual {p0}, Ljava/lang/String;->length()I

    move-result v7

    if-gt v6, v7, :cond_0

    .line 418
    add-int/lit8 v6, v0, 0x1

    invoke-virtual {p0}, Ljava/lang/String;->length()I

    move-result v7

    invoke-virtual {p0, v6, v7}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v3

    .line 419
    .local v3, param:Ljava/lang/String;
    const-string v6, "&"

    invoke-virtual {v3, v6}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v5

    .line 420
    .local v5, values:[Ljava/lang/String;
    if-eqz v5, :cond_0

    .line 422
    const/4 v1, 0x0

    .local v1, index:I
    :goto_0
    array-length v6, v5

    if-lt v1, v6, :cond_1

    .line 439
    .end local v0           #i:I
    .end local v1           #index:I
    .end local v3           #param:Ljava/lang/String;
    .end local v5           #values:[Ljava/lang/String;
    :cond_0
    :goto_1
    return-object v4

    .line 424
    .restart local v0       #i:I
    .restart local v1       #index:I
    .restart local v3       #param:Ljava/lang/String;
    .restart local v5       #values:[Ljava/lang/String;
    :cond_1
    aget-object v6, v5, v1

    invoke-virtual {v6, p1}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v6

    if-eqz v6, :cond_2

    .line 426
    aget-object v6, v5, v1

    const-string v7, "="

    invoke-virtual {v6, v7}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v2

    .line 428
    .local v2, keys:[Ljava/lang/String;
    array-length v6, v2

    if-le v6, v8, :cond_2

    .line 429
    aget-object v4, v2, v8

    .line 430
    goto :goto_1

    .line 422
    .end local v2           #keys:[Ljava/lang/String;
    :cond_2
    add-int/lit8 v1, v1, 0x1

    goto :goto_0
.end method

.method public static replace(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    .locals 2
    .parameter "s"
    .parameter "srcString"
    .parameter "dstString"

    .prologue
    .line 226
    if-eqz p0, :cond_0

    const-string v1, ""

    invoke-virtual {p0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_1

    .line 227
    :cond_0
    const-string v0, ""

    .line 236
    :goto_0
    return-object v0

    .line 230
    :cond_1
    move-object v0, p0

    .line 232
    .local v0, d:Ljava/lang/String;
    :try_start_0
    invoke-static {v0, p1, p2}, Lcom/netease/newsreader/util/Tools;->replaceAll(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    move-result-object v0

    goto :goto_0

    .line 233
    :catch_0
    move-exception v1

    goto :goto_0
.end method

.method public static replaceAll(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    .locals 5
    .parameter "src"
    .parameter "fnd"
    .parameter "rep"
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/lang/Exception;
        }
    .end annotation

    .prologue
    .line 178
    if-eqz p0, :cond_0

    const-string v2, ""

    invoke-virtual {p0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_2

    .line 179
    :cond_0
    const-string v0, ""

    .line 192
    :cond_1
    return-object v0

    .line 182
    :cond_2
    move-object v0, p0

    .line 184
    .local v0, dst:Ljava/lang/String;
    invoke-virtual {v0, p1}, Ljava/lang/String;->indexOf(Ljava/lang/String;)I

    move-result v1

    .line 186
    .local v1, idx:I
    :goto_0
    if-ltz v1, :cond_1

    .line 187
    new-instance v2, Ljava/lang/StringBuilder;

    const/4 v3, 0x0

    invoke-virtual {v0, v3, v1}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v3

    invoke-static {v3}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v2, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    .line 188
    invoke-virtual {p1}, Ljava/lang/String;->length()I

    move-result v3

    add-int/2addr v3, v1

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v4

    invoke-virtual {v0, v3, v4}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    .line 187
    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    .line 189
    invoke-virtual {p2}, Ljava/lang/String;->length()I

    move-result v2

    add-int/2addr v2, v1

    invoke-virtual {v0, p1, v2}, Ljava/lang/String;->indexOf(Ljava/lang/String;I)I

    move-result v1

    goto :goto_0
.end method

.method public static setHttpProxy(Ljava/lang/String;Ljava/lang/String;)V
    .locals 2
    .parameter "proxy"
    .parameter "port"

    .prologue
    .line 71
    invoke-static {}, Ljava/lang/System;->getProperties()Ljava/util/Properties;

    move-result-object v0

    .line 72
    .local v0, systemProperties:Ljava/util/Properties;
    const-string v1, "http.proxyHost"

    invoke-virtual {v0, v1, p0}, Ljava/util/Properties;->setProperty(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;

    .line 73
    const-string v1, "http.proxyPort"

    invoke-virtual {v0, v1, p1}, Ljava/util/Properties;->setProperty(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;

    .line 74
    return-void
.end method

.method public static toGropuList4Special(Ljava/util/List;)Ljava/util/ArrayList;
    .locals 10
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List",
            "<",
            "Ljava/util/HashMap",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;>;)",
            "Ljava/util/ArrayList",
            "<",
            "Lcom/netease/newsreader/util/Pair",
            "<",
            "Ljava/lang/String;",
            "Ljava/util/ArrayList",
            "<",
            "Ljava/util/HashMap",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;>;>;>;"
        }
    .end annotation

    .prologue
    .line 451
    .local p0, orglist:Ljava/util/List;,"Ljava/util/List<Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;>;"
    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    .line 452
    .local v1, child:Ljava/util/ArrayList;,"Ljava/util/ArrayList<Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;>;"
    const-string v3, ""

    .line 453
    .local v3, groupstr:Ljava/lang/String;
    const-string v0, ""

    .line 454
    .local v0, agogroupstr:Ljava/lang/String;
    new-instance v2, Ljava/util/ArrayList;

    invoke-direct {v2}, Ljava/util/ArrayList;-><init>()V

    .line 456
    .local v2, group:Ljava/util/ArrayList;,"Ljava/util/ArrayList<Lcom/netease/newsreader/util/Pair<Ljava/lang/String;Ljava/util/ArrayList<Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;>;>;>;"
    if-eqz p0, :cond_0

    invoke-interface {p0}, Ljava/util/List;->size()I

    move-result v9

    if-lez v9, :cond_0

    .line 457
    invoke-interface {p0}, Ljava/util/List;->size()I

    move-result v8

    .line 459
    .local v8, sum:I
    const/4 v4, 0x0

    .local v4, index:I
    :goto_0
    if-lt v4, v8, :cond_1

    .line 503
    .end local v4           #index:I
    .end local v8           #sum:I
    :cond_0
    return-object v2

    .line 461
    .restart local v4       #index:I
    .restart local v8       #sum:I
    :cond_1
    invoke-interface {p0, v4}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Ljava/util/HashMap;

    .line 463
    .local v5, one:Ljava/util/HashMap;,"Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;"
    const-string v9, "index"

    invoke-virtual {v5, v9}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v7

    check-cast v7, Ljava/lang/String;

    .line 464
    .local v7, special_index_tag:Ljava/lang/String;
    const-string v9, "0"

    invoke-virtual {v9, v7}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v9

    if-nez v9, :cond_6

    .line 466
    const-string v9, "tname"

    invoke-virtual {v5, v9}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v3

    .end local v3           #groupstr:Ljava/lang/String;
    check-cast v3, Ljava/lang/String;

    .line 467
    .restart local v3       #groupstr:Ljava/lang/String;
    const-string v9, ""

    invoke-virtual {v9, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v9

    if-eqz v9, :cond_2

    .line 468
    move-object v0, v3

    .line 471
    :cond_2
    const-string v9, ""

    invoke-virtual {v9, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v9

    if-eqz v9, :cond_3

    add-int/lit8 v9, v8, -0x1

    if-ne v4, v9, :cond_7

    .line 473
    :cond_3
    add-int/lit8 v9, v8, -0x1

    if-ne v4, v9, :cond_4

    invoke-virtual {v1, v5}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 475
    :cond_4
    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v9

    if-lez v9, :cond_5

    .line 477
    invoke-static {v0, v1}, Lcom/netease/newsreader/util/Pair;->create(Ljava/lang/Object;Ljava/lang/Object;)Lcom/netease/newsreader/util/Pair;

    move-result-object v6

    .line 478
    .local v6, p:Lcom/netease/newsreader/util/Pair;,"Lcom/netease/newsreader/util/Pair<Ljava/lang/String;Ljava/util/ArrayList<Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;>;>;"
    invoke-virtual {v2, v6}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 479
    new-instance v1, Ljava/util/ArrayList;

    .end local v1           #child:Ljava/util/ArrayList;,"Ljava/util/ArrayList<Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;>;"
    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    .line 480
    .restart local v1       #child:Ljava/util/ArrayList;,"Ljava/util/ArrayList<Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;>;"
    move-object v0, v3

    .line 484
    .end local v6           #p:Lcom/netease/newsreader/util/Pair;,"Lcom/netease/newsreader/util/Pair<Ljava/lang/String;Ljava/util/ArrayList<Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;>;>;"
    :cond_5
    add-int/lit8 v9, v8, -0x1

    if-ge v4, v9, :cond_6

    .line 485
    invoke-virtual {v1, v5}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 459
    :cond_6
    :goto_1
    add-int/lit8 v4, v4, 0x1

    goto :goto_0

    .line 489
    :cond_7
    invoke-virtual {v1, v5}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    goto :goto_1
.end method


# virtual methods
.method public isHoneycomb()Z
    .locals 2

    .prologue
    .line 518
    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v1, 0xb

    if-lt v0, v1, :cond_0

    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method
